<style type="text/css">
    .carousel-caption {
        position: absolute;
        right: 15%;
        bottom: 20px;
        left: 15%;
        z-index: 10;
        padding-top: 20px;
        padding-bottom: 20px;
        color: #fff;
        text-align: center;
        text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    }
    .carousel-caption {
        right: 20%;
        left: 20%;
        padding-bottom: 30px;
    }
</style>
<div ng-controller="CarouselDemoCtrl">
  <div style="height: 300px; width: 500px;">
    <wi-carousel interval="myInterval">
      <wi-slide ng-repeat="slide in slides" active="slide.active">
        <img ng-src="{{slide.image}}" style="margin:auto;">
        <div class="carousel-caption">
          <h4>Slide {{$index}}</h4>
          <p>{{slide.text}}</p>
        </div>
      </wi-slide>
    </wi-carousel>
  </div>
  <div>
    <div>
      <button type="button" class="wi-btn" ng-click="addSlide()">Add Slide</button>
    </div>
    <div>
      Interval, in milliseconds: <input type="number" ng-model="myInterval">
      <br />Enter a negative number to stop the interval.
    </div>
  </div>
</div>

